quartz menu: add a hack for application name
authorRyan Lortie <desrt@desrt.ca>
Mon, 16 Dec 2013 16:05:17 +0000 (11:05 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sat, 18 Jan 2014 03:37:04 +0000 (22:37 -0500)
commit5d63ee8e0eb39cacc19461c45ff93d3e37e81e20
tree05317e305b56435949d3f086a006a0fff19b0596
parentceeef03004468a03ff9816493ca2f3a7fee287d9
quartz menu: add a hack for application name

Add a private hack to allow the insertion of the name of the application
into the label of menu items.

If it appears in the label of any menu item, "%s" will be replaced with
the name of the application.

We will use this for the "Hide myapp", "Quit myapp" and "About myapp"
labels typically found on Mac OS programs.

https://bugzilla.gnome.org/show_bug.cgi?id=720552
gtk/gtkapplication-quartz-menu.c